package com.hmdp.controller;


import com.hmdp.dto.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author 虎哥
 * @since 2021-12-22
 */
@RestController
@RequestMapping("/blog-comments")
public class BlogCommentsController {
    @GetMapping
    public Result newFunc(){
        return Result.ok("xingongneng");}

    @GetMapping("/new")
    public Result newFunc2(){
        return Result.ok("xingongneng2");
    }
}
